import request from '@/utils/request';

// 获取系统设置列表
export const getSystemSettingList = (params) => {
  return request({
    url: '/CompanyWebsiteApi/SystemManage/SystemSetting/GetSystemSettingList',
    method: 'GET',
    params
  });
}

// 添加系统设置
export const addSystemSetting = (data) => {
  return request({
    url: '/CompanyWebsiteApi/SystemManage/SystemSetting/AddSystemSetting',
    method: 'POST',
    data
  });
}

// 更新系统设置
export const updateSystemSetting = (data) => {
  return request({
    url: '/CompanyWebsiteApi/SystemManage/SystemSetting/UpdateSystemSetting',
    method: 'POST',
    data
  });
}

// 删除系统设置
export const deleteSystemSetting = (data) => {
  return request({
    url: '/CompanyWebsiteApi/SystemManage/SystemSetting/DeleteSystemSetting',
    method: 'POST',
    data
  });
}
